home *** CD-ROM | disk | FTP | other *** search
- '\" Copyright (c) 1988 Bellcore
- '\" All Rights Reserved
- '\" Permission is granted to copy or use this program, EXCEPT that it
- '\" may not be sold for profit, the copyright notice must be reproduced
- '\" on copies, and credit should be given to Bellcore where it is due.
- '\" BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
- '\"
- '\" $Header: doc.0,v 4.2 88/06/30 12:44:52 bianchi Exp $
- '\" $Source: /tmp/mgrsrc/doc/usrman/RCS/doc.0,v $
- .DA
- .ds M M\s-2GR\s+2
- .ds RF Draft (\nv)
- .ds RF \*M 4.0\ \ \(co 1988 Bellcore
- .ds LH \*M\-C Language Application Interface
- .ds A \v'0.25v'*\v'-0.25v'
- '\" Ff == font for functions (normally constrant width roman)
- '\" Fn == font for arguments and such (normally constant width bold)
- .if t .ds Ff lr
- .if t .ds Fn lb
- .if n .ds Ff R
- .if n .ds Fn B
- .if n .nr LL 78m
- .if n .nr PO 1m
- ..
- .de Sh \" section header
- .ds RH \\$2 \\$3 \\$4 \\$5 \\$6
- .if t .if !\\nI .tm working on \\$2 \\$3 \\$4 \\$5 \\$6 [\\$1](page \\n%)
- .if ◆\\$1◆page◆ .bp
- .LP
- .XS
- \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
- .XE
- .sp 0.5v
- .LG
- .B
- \(rh \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
- .R
- .SM
- .LP
- ..
- .de Fr \" function reference
- .ds Fz \\n(.f
- .if \\nI .if !'\\$1'' .tm \\$1 \\n% \\*(Mi
- .ds Mi
- .ft \\*(Ff
- .if t \\$1(\|\\c
- .if n \\$1(\\c
- .if \\n(.$>1 .ft \\*(Fn
- .if t .if \\n(.$>1 \\$2\|\\c
- .if n .if \\n(.$>1 \& \\$2\|\\c
- .if \\n(.$>2 \\fP,\|\\fP\\$3\|\\c
- .if \\n(.$>3 \\fP,\|\\fP\\$4\|\\c
- .if \\n(.$>4 \\fP,\|\\fP\\$5\|\\c
- .if \\n(.$>5 \\fP,\|\\fP\\$6\|\\c
- .if \\n(.$>6 \\fP,\|\\fP\\$7\|\\c
- .if \\n(.$>7 \\fP,\|\\fP\\$8\|\\c
- .if \\n(.$>8 \\fP,\|\\fP\\$9\|\\c
- .ft \\*(Ff
- )\\c
- .ft \\*(Fz
- ..
- .de Fa \" argument description
- .ds Fz \\n(.f
- .ft \\*(Fn
- .ft \\*(Ff
- \\fP\\$1\\fP\\$2\\fP\\$3\\fP\\$4\\fP\\$5\\fP\\$6\\fP\\$7\\fP\\$8\\fP\\$9
- .ft \\*(Fz
- ..
- .de Fi \" function italic - alternate Fn and previous
- .ft \\*(Fn
- \\$1\\fP\\$2\\fP\\$3\\fP\\$4\\fP\\$5\\fP\\$6\\fP\\$7\\fP\\$8\\fP\\$9\\fP
- ..
- .de Fh \" function heading
- .XP
- .ds Mi *
- .Fr \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
- .br
- ..
- .de Ad \" argument description
- .XP
- .Fa \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
- .br
- ..
- .de Fe \" function ending
- .br
- ..
- .de Fs \" generate function subjects
- .if \\nI .tm .Fc \\$1 \\$2 \\n% "\\$3"
- ..
- .de Mk \" mark a vertical spot
- .nr xx \\n(nl
- ..
- .de Go \" go to marked spot indented $1
- .nr yy \\n(nl
- .sp \\n(xxu-\\n(nlu
- .sp
- .po \\$1
- .nr qq \\n(xx-\\n(nlu
- ..
- .de Rs \" Restore vertical spot
- .if \\n(yy>\\n(nlu .sp \\n(yyu-\\n(nl
- .po
- ..
- .de Fd \" start a function declaration
- .ds Mi *
- .br
- .sp 1.0v
- .ft \\*(Ff
- .RE
- .nf
- \\$1 \\$2 \\$3 \\$4
- ..
- .de Ft \" terminate a function declaration
- .fl
- .ft R
- .RS
- .br
- .sp 0.5v
- ..
- .de SS \" source include for croff
- .nf
- .ft \*(Ff
- .cs \*(Ff 24
- ..
- .de SE \" end source include for croff
- .ft R
- .fl
- .cs \*(Ff
- ..
- .ds S Unknown Function Category
- .de Mc \" mgr function and macro categories
- .if ◆\\$1◆1◆ .ds S Library Package Control*
- .if ◆\\$1◆2◆ .ds S Standard I/O Functions
- .if ◆\\$1◆3◆ .ds S Terminal Functions
- .if ◆\\$1◆4◆ .ds S Graphics Primitives
- .if ◆\\$1◆5◆ .ds S Bit-blts and Related Functions
- .if ◆\\$1◆6◆ .ds S Window Environment Changes
- .if ◆\\$1◆7◆ .ds S Window State Inquiry
- .if ◆\\$1◆8◆ .ds S Pop-up Menu Management
- .if ◆\\$1◆9◆ .ds S Event Handling
- .if ◆\\$1◆10◆ .ds S Window Context Manipulation
- .if ◆\\$1◆11◆ .ds S Multiple Windows
- .if ◆\\$1◆12◆ .ds S Message Passing
- .if ◆\\$1◆13◆ .ds S Miscellaneous Functions
- .if ◆\\$1◆14◆ .ds S Color Manipulation
- ..
- .nr Lx 0
- .de Fc \" macro for printing macros by category
- .tc .
- .if !\\n(Lx=\\$2\{
- .nr Lx \\$2
- .SH
- .Mc \\$2
- \\*S
- .LP
- \}
- .IP "\\$1 \fB\\$3\fP" 2.0i
- \\$4.
- .tc
- ..
- .de Ih \" header stuff for index
- .nr Ll \n(LL
- .nr Po \n(PO
- .nr LL 7.5i
- .nr PO .5i
- .Sh page Macro and Function Index
- These are the pages where macros and functions are referenced.
- The \fBbold\fP page numbers are the defining references.
- .LP
- .MC 2.1i 0.4
- .LP
- ..
- .de Sb \" subscript
- \\$1\s-2\d\\$2\u\s+2\\$3\\$4\\$5\\$6\\$7\\$8\\$9
- ..
- .de TS
- .KS
- ..
- .de TE
- .KE
- ..
-